.videos_page_content {
    padding: 0 150px;
}

#video_container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto, 1fr);
    gap: 50px;
    justify-items: center;
    margin: 50px 0;
}


@media (min-width: 1200px) {
    .videos_page_content {
        padding: 0 200px;
    }

    .video_item_container {
        width: 100%;
    }
    
    .video_item_container>iframe {
        height: 350px;
    }
}


@media (max-width: 1200px) {

    .videos_page_content {
        padding: 0 100px;
    }

    #video_container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto 1fr;
        gap: 50px;
        justify-items: center;
        margin: 50px 0;
    }

    .video_item_container {
        width: 350px;
    }

    .video_item_container>iframe {
        height: 350px;
    }
}

@media (max-width: 850px) {

    .videos_page_content {
        padding: 0 70px;
    }

    .video_item_container {
        width: 290px;
    }

    .video_item_container>iframe {
        height: 200px;
    }
}

@media (max-width: 768px) {

    .videos_page_content {
        padding: 0 50px;
    }

    .video_item_container {
        width: 100%;
    }
}


@media (max-width: 600px) {

    #video_container {
        grid-template-columns: repeat(1, 1fr);
    }

    .video_item_container>iframe {
        height: 300px;
    }
}